Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Code Analysis Framework #228

Merged
merged 1 commit into from
Jul 11, 2024
Merged

feat: Code Analysis Framework #228

merged 1 commit into from
Jul 11, 2024

Conversation

abhisek
Copy link
Member

@abhisek abhisek commented Jul 11, 2024

This PR lays the foundation for building code analysis capability in vet. While we have a minimal code graph builder, it is not very useful at this point. However, this PR introduces the infrastructure required to implement such analysis.

Copy link

github-actions bot commented Jul 11, 2024

vet Summary Report

This report is generated by vet

Policy Checks

  • ✅ Vulnerability
  • ✅ Malware
  • ✅ License
  • ❌ Popularity
  • ❌ Maintenance
  • ✅ Security Posture
  • ✅ Threats

New Packages

Packages Violating Policy

[Go] github.com/cayleygraph/[email protected] 🔗

  • ➡️ Found in manifest go.mod
  • ⚠️ Component appears to be unmaintained

[Go] github.com/piprate/[email protected] 🔗

  • ➡️ Found in manifest go.mod
  • ⚠️ Component appears to be unmaintained

[Go] github.com/gobuffalo/packr/[email protected] 🔗

  • ➡️ Found in manifest go.mod
  • ⚠️ Component appears to be unmaintained

[Go] github.com/joho/[email protected] 🔗

  • ➡️ Found in manifest go.mod
  • ⚠️ Component appears to be unmaintained

[Go] github.com/gobuffalo/[email protected] 🔗

  • ➡️ Found in manifest go.mod
  • ⚠️ Component popularity is low by Github stars count
  • ⚡ Use an alternative package that is popular

[Go] github.com/tylertreat/[email protected] 🔗

  • ➡️ Found in manifest go.mod
  • ⚠️ Component appears to be unmaintained

[Go] github.com/gogo/[email protected] 🔗

  • ➡️ Found in manifest go.mod
  • ⚠️ Component appears to be unmaintained

[Go] github.com/gobuffalo/[email protected] 🔗

  • ➡️ Found in manifest go.mod
  • ⚠️ Component popularity is low by Github stars count
  • ⚡ Use an alternative package that is popular

[Go] github.com/dennwc/[email protected] 🔗

  • ➡️ Found in manifest go.mod
  • ⚠️ Component popularity is low by Github stars count
  • ⚡ Use an alternative package that is popular

Copy link

cloudflare-workers-and-pages bot commented Jul 11, 2024

Deploying safedep-vet with  Cloudflare Pages  Cloudflare Pages

Latest commit: e6f6288
Status: ✅  Deploy successful!
Preview URL: https://7e3823f0.safedep-vet.pages.dev
Branch Preview URL: https://feat-code-analysis-framework.safedep-vet.pages.dev

View logs

feat: Building code graph

Refactor to support import processing

Handle relative import name fixup

Add docs for code analysis framework

Update docs to include additional examples

feat: Function call graph

Update code graph to link function decl and calls

Include call node in function calls

feat: Flatten vulnerabilities in CSV reporter

refactor: Maintain separation of concerns for code analysis framework

refactor: Separate storage entities in its own package

feat: Add callback support in code graph builder

docs: Fix code analysis framework docs
Signed-off-by: abhisek <[email protected]>
@abhisek abhisek force-pushed the feat/code-analysis-framework branch from b15c6e8 to e6f6288 Compare July 11, 2024 09:39
@abhisek abhisek requested a review from c0d3G33k July 11, 2024 09:39
@abhisek abhisek merged commit 5aa2027 into main Jul 11, 2024
9 of 10 checks passed
@abhisek abhisek deleted the feat/code-analysis-framework branch July 11, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants